@media screen and (min-width:1280px) {
    .container {
        width: 1280px;
    }
}

body {
    background-color: rgb(250, 250, 250);
}

a {
    color: #666;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a:hover,
a:link {
    text-decoration: none;
}

.state {
    display: none;
}

.container {
    background-color: #fff;
}

/* header */
header {
    padding: 0 !important;
}

.logo {
    background: rgb(255, 94, 82);
}

.logo img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.logo span {
    display: block;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.logo a {
    position: relative;
}

.logo .search-icon {
    position: absolute;
    right: 10px;
}

.nav {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

.nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    font-size: 16px;

}

.nav a:hover {
    background-color: #fff;
}

.nav a::before {
    vertical-align: middle;
    padding-right: 5px;
}

.search {
    width: 90%;
    margin: 10px 10px;
}

.search button {
    background-color: rgb(254, 117, 107);
    color: #fff;
}

@media screen and (max-width:766px) {
    .nav li {
        float: left;
        width: 20%;
    }

    .nav li a {
        font-size: 14px;
    }

    .news li:nth-child(1) {
        width: 100% !important;
    }

    .news li {
        width: 50% !important;
    }

    .publish .row h3 {
        font-size: 18px;
    }

    .nav a {
        padding-left: 0;
    }

    .nav a:nth-child(1) {
        padding-left: 10px;
    }
}

@media screen and (min-width:766px) {
    .search {
        display: block !important;
        margin-left: 10px;
    }
}

/* Arctic */
.news li {
    float: left;
    width: 25%;
    height: 128px;
    padding-right: 10px;
    margin-top: 10px;
}

.news li>a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform-origin: center;
    transition: all linear .2s;
}

.news li:nth-child(1) {
    width: 50%;
    height: 266px;
}

.news li:nth-child(1) p {
    line-height: 41px;
    font-size: 20px;
    padding: 0 10px;
}

.carousel,
.carousel img {
    width: 100%;
    height: 266px !important;
}

.news li a img {
    width: 100%;
    height: 100%;
    transition: all linear .2s;
}

.news li a p,
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    padding: 5px 5px 0;
    margin-bottom: 0;
    background: rgba(0, 0, 0, .5);
    font-size: 12px;
    color: #fff;
}

.carousel-caption {
    line-height: 41px;
    font-size: 16px;
    padding: 0;
}

.news li a:hover p {
    background: rgb(254, 108, 95);
}

.news li a:hover img {
    transform: scale(1.2);
}

.news li>a:hover {
    transform: translate(5px, 5px);
    box-shadow: -3px -3px 5px #aaa;
}

/* 发表 */
.publish {
    margin-top: 10px;
    border-top: 1px solid #ccc;
}

.publish .row {
    border-bottom: 1px solid #ccc;
}

.publish h3::before,
a::before {
    vertical-align: middle;
    padding-right: 5px;
}

.publish span {
    display: flex;
    justify-content: space-between;
}


.publish .row :nth-child(2) a {
    display: block;
    margin-top: 25px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 
.publish .row :nth-child(2) a:hover::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, .4);
} */

/* 右边 */
.banner img {
    width: 100%;
}

.hot {
    display: block;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.hot span,
h2,
p {
    margin-left: 10px;
}

.hot:hover {
    border: 1px solid rgb(255, 94, 82);
}

.hot span {
    display: block;
    width: 50px;
    height: 30px;
    line-height: 30px;
    background-color: rgb(255, 94, 82);
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.hot h2 {
    font-size: 20px;
    color: rgb(255, 94, 82);
}

/* 最新文章 */
.newst .row {
    padding: 10px;
    padding-bottom: 0;
}

.newst .row a {
    overflow: hidden;
}

.newst .row a:hover {
    color: rgb(255, 94, 82);
}